package com.jmlee.pojo;

import java.util.Date;

/**
 * @author： 郑锦涛
 * @data： 2021/3/8 16:26
 * @version：1.0
 * @描述： rider表实体类
 */
public class Rider {

    /**
     * id           id
     * openid       微信授权登录Id
     * idCard       身份证号
     * idCardImg    身份证照片
     * username     用户名
     * password     密码
     * headerImg    头像
     * mobile       手机号
     * nickName     昵称
     * note         备注信息
     * createTime   注册时间
     * status       帐号启用状态：0->禁用；1->启用；2->删除
     */
    private Long id;
    private String openid;
    private String idCard;
    private String idCardImg;
    private String username;
    private String password;
    private String headerImg;
    private String mobile;
    private String nickName;
    private String note;
    private Date createTime;
    private Integer status;

    public Rider() {
    }

    public Rider(Long id, String openid, String idCard, String idCardImg, String username, String password, String headerImg, String mobile, String nickName, String note, Date createTime, Integer status) {
        this.id = id;
        this.openid = openid;
        this.idCard = idCard;
        this.idCardImg = idCardImg;
        this.username = username;
        this.password = password;
        this.headerImg = headerImg;
        this.mobile = mobile;
        this.nickName = nickName;
        this.note = note;
        this.createTime = createTime;
        this.status = status;
    }

    @Override
    public String toString() {
        return "Rider{" +
                "id=" + id +
                ", openid='" + openid + '\'' +
                ", idCard='" + idCard + '\'' +
                ", idCardImg='" + idCardImg + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", headerImg='" + headerImg + '\'' +
                ", mobile='" + mobile + '\'' +
                ", nickName='" + nickName + '\'' +
                ", note='" + note + '\'' +
                ", createTime=" + createTime +
                ", status=" + status +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getIdCardImg() {
        return idCardImg;
    }

    public void setIdCardImg(String idCardImg) {
        this.idCardImg = idCardImg;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getHeaderImg() {
        return headerImg;
    }

    public void setHeaderImg(String headerImg) {
        this.headerImg = headerImg;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
